const gulp = require('gulp');
const babel = require('gulp-babel');

gulp.task('lib', () =>
  gulp.src('babel-static/*.js')
    .pipe(babel({
      presets: [
        [ '@vue/cli-plugin-babel/preset', {
          "targets" : {
            "chrome": "70",
          }
        }]
      ]
    }))
    .pipe(gulp.dest('lib'))
);
